package serviceset1

import java.text.SimpleDateFormat

class BootStrap {

    def init = { servletContext ->
        new Customer(name: "ZhangSan", gender: 1, birthday: new SimpleDateFormat("yyyyMMdd").parse("19900203")).save()
    }
    def destroy = {
    }
}
